home *** CD-ROM | disk | FTP | other *** search
- #
- # dbx script to dumpt MMmalloc malloc_check information.
- #
- # This script will print the following values
- # - message describing the problem and possible cause
- # - Most likely problem address
- # - Another problem address
- # - MMmalloc failure ID.
- # - malloc_check() state
- # - 1 indicates a panic and 2 indicates an address check failure
- #
- # This is an example. 0x100572e4 was the address of failure.
- # 0x5fff0934 = "Bad quick slot : overwrite before allocated mem\n"
- # 0x100572e4
- # 0x10056b88
- # 0x10000a16
- # 2
- # 1
- #
-
- alias MMdump "\
- print (char*)__mm_message\n\
- print (int*)__mm_chkaddr1\n\
- print (int*)__mm_chkaddr2\n\
- print (int*)__mm_xtra\n\
- print (int)__mm_ck_class\n\
- print (int)__mm_ck_type\n"
-
- MMdump
-